#include "expressiontreenode.h"

namespace AltMath {
     const ExpressionTreeNode::Pointer& ExpressionTreeNode::left() const {
          return m_left;
     }

     const ExpressionTreeNode::Pointer& ExpressionTreeNode::right() const {
          return m_right;
     }

     void ExpressionTreeNode::setLeft(const Pointer& newLeft){
          m_left = newLeft;
          return;
     }

     void ExpressionTreeNode::setRight(const Pointer& newRight){
          m_right = newRight;
          return;
     }
}
